package project.dao;

import project.entity.Student;
import project.utils.Page;

import java.util.ArrayList;
import java.util.List;

/*
杨威
2021/9/11
17:18
*/
public interface StudentDao {
    List<Student> studentList();
    List<Student> selectAllByPage(Page page);
    Long selectCount();
    int insert(Student student);
    int update(Student student);
    int delete(int stuId);
    Student selectById(int stuId);
}